package com.eerl.pdev.data;

import com.eerl.pdev.MySettingsState;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

public class ErlLocalDataConfigOpenAction extends AnAction {

    public ErlLocalDataConfigOpenAction() {
        super("打开本地xml配置文件", "", null);
    }

    @Override
    public void actionPerformed(@NotNull AnActionEvent e) {
        // 本地配置
        String localDataConfigPath = MySettingsState.getInstance().LOCAL_ERL_DATA_CONFIG_ABS_PATH;
        OpenErlDataFile.open(e, localDataConfigPath);

    }
}
